package top.techqi.app.mcs51.usbdlk.tile

import android.view.LayoutInflater
import android.view.ViewGroup
import top.techqi.app.mcs51.databinding.ItemUsbdlkListHeadBinding
import top.techqi.app.mcs51.databinding.ItemUsbdlkListTailBinding
import top.techqi.view.recyclerview.tile.BindHolder
import top.techqi.view.recyclerview.tile.TilePortion
import top.techqi.view.recyclerview.tile.TileRecord

class UsbdlkListTailPortion : TilePortion<
        UsbdlkListTailPortion.Holder,
        UsbdlkListTailPortion.Record>() {
    override fun onMakeHolder(inflater: LayoutInflater, container: ViewGroup): Holder {
        return Holder(inflater, container)
    }

    override fun onBindRecord(holder: Holder, record: Record) {
    }

    class Record(override val index: String) : TileRecord

    class Holder(inflater: LayoutInflater, container: ViewGroup) :
        BindHolder<Record, ItemUsbdlkListTailBinding>(
            inflater, container, ItemUsbdlkListTailBinding::inflate
        )
}
